package com.uchengwang.functions.http.config;

import com.uchengwang.functions.http.listener.IHttpManager;

/**
 * Created by U城网 on 2017/8/21.
 * Uni api
 */

public interface UniConfig {

    /**
     * uni推荐一个banner
     * */
    public interface Recomment{
        IHttpManager.RequestMethod method_get = IHttpManager.RequestMethod.GET;//查看自己推荐的banner
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.POST;
        String URL = "/uni/banner/recommed";
    }

    /**
     * uni审核一个发布信息
     * */
    public interface publish{
        IHttpManager.RequestMethod method_get = IHttpManager.RequestMethod.GET;//获取自己的审核数据
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.POST;
        String URL = "/uni/examine/publish";
    }

    /**
     * uni反馈
     * */
    public interface feedback{
        IHttpManager.RequestMethod method_get = IHttpManager.RequestMethod.GET;//查询自己的反馈
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.POST;
        String URL = "/uni/feedback";
    }

    /**
     * uni推荐热帖
     * */
    public interface HotArticle{
        IHttpManager.RequestMethod method_get = IHttpManager.RequestMethod.GET;
        IHttpManager.RequestMethod method_post = IHttpManager.RequestMethod.POST;
        String URL = "/uni/pub/recommend";
    }

    /**
     * Uni提交社团验证数据
     * */
    public interface UniAuthenClub{
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.POST;
        String URL = "/uni/org/auth/data";
    }

    /**
     *通过classID获取一个班级的信息 并且根据newMember 来判断是否有新成员加入
     * */
    public interface GetClassInfo{
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.GET;
        String URL = "/uni/data/school/class";
    }

    /**
     * 发布一个热门信息
     * */
    public interface ReleaseHot{
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.POST;
        IHttpManager.RequestMethod method_recom = IHttpManager.RequestMethod.PUT;//推荐一个热门信息
        String URL = "/uni/publish/hot";
    }

}
